package com.hjqjl.module_home.ui;

import android.content.Context;
import android.content.Intent;

import com.blankj.utilcode.util.TimeUtils;
import com.hjqjl.common_lib.utils.DateFormatUtil;
import com.hjqjl.module_home.databinding.HomeActivityDateBinding;
import com.hjqjl.whapplib.base.BaseActivity;

public class DateActivity extends BaseActivity<HomeActivityDateBinding> {
    public static void start(Context context) {
        Intent starter = new Intent(context, DateActivity.class);
        context.startActivity(starter);
    }

    @Override
    public void initData() {
        setTitle("日期格式展示");
        String showTime = TimeUtils.date2String(TimeUtils.getNowDate(), DateFormatUtil.FORMAT_YMDHMS);
        pVBinding.homeTvDateShow.setText(showTime);
    }
}
